package com.kaishengit.dao;

import com.kaishengit.entity.Role;
import com.kaishengit.util.db.DBHelp;

public class RoleDao {

	private DBHelp<Role> db = new DBHelp<Role>();
	
	public void save(Role r) {
		String sql = "insert into t_employee_project(role,userid,projectid) values(?,?,?)";
		db.executeQuery(sql, r.getRole(),r.getProjectId(),r.getUserId());
	}
}
